/* JS */ gapi.loaded_2(function(_){var window=this; _.Xi=function(a,b){(0,_.ja)(b)||(b=[b]);var c=(0,_.Hg)(b,function(a){return(0,_.pa)(a)?a:a.wp+" "+a.duration+"s "+a.timing+" "+a.uf+"s"});(0,_.Di)(a,"transition",c.join(","))}; _.Yi=function(){if(!(0,_.fa)(Zi))if(_.V)Zi=(0,_.Rf)("10.0");else{var a=window.document.createElement("div"),b=_.kg?"-webkit":_.jg?"-moz":_.V?"-ms":_.ig?"-o":null;a.innerHTML='
';a=a.firstChild;b=a.style[(0,_.Bi)("transition")];Zi=""!=("undefined"!==typeof b?b:a.style[(0,_.Fi)(a,"transition")]||"")}return Zi};var Zi; _.Ns=function(a,b,c,d,e){if((0,_.ja)(b)){for(var f=0;f=f.left;a.Ea=a.Ea?!d||g:!d&&g;g=e.offsetTop;d=g+c=f.top;a.Aa=a.Aa?!d||g:!d&&g}d=Sz(a,a.Ea,e.offsetLeft,e.offsetWidth,b,f.left,f.right);a=Sz(a,a.Aa,e.offsetTop,e.offsetHeight,c,f.top,f.bottom);return new Nz(b,c,d,a,1)}; var Sz=function(a,b,c,d,e,f,g){return b?(a=c+d,Math.min(g-a,Math.max(f+e-a,0))):Math.max(f-c,Math.min(g-c-e,0))};var Tz=function(a,b,c){a.O.Ba().style.width=b+"px";a.O.Ba().style.height=c+"px";a.Q.style.width=b+"px";a.Q.style.height=c+"px";b=a.ig?Rz(a,b,c,!1):Oz(a.ob,b,c);a.C=b;a.I||Uz(a,b)}; _.Vz=function(a,b){Wz(a,Oz(b,void 0,0,0));_.s.setTimeout((0,_.x)(function(){this.I||(this.C=b,this.Fc&&(0,_.Xi)(this.B,"width 350ms cubic-bezier(.23, .50, .32, 1),height 350ms cubic-bezier(.23, .50, .32, 1),left 350ms cubic-bezier(.23, .50, .32, 1),top 350ms cubic-bezier(.23, .50, .32, 1),opacity 350ms cubic-bezier(.23, .50, .32, 1)"),Uz(this,b),this.Gj(!0,!1),this.pa&&(_.s.clearTimeout(this.pa),this.Va=!1),this.pa=_.s.setTimeout((0,_.x)(this.Gj,this,!0,!0),350))},a),0)}; var Xz=function(a){a.I||(a.Gj(!1,!1),Uz(a,Oz(a.ob,void 0,0,0)),a.I=!0,a.pa&&_.s.clearTimeout(a.pa),a.pa=_.s.setTimeout((0,_.x)(function(){this.pb=!0;this.Va?(Yz(this),this.Va=!1):(this.Fc&&(0,_.Xi)(this.B,""),this.B.visibility="hidden",this.B.left="-1000px",this.B.top="-1000px");this.Gj(!1,!0)},a),350))};var Yz=function(a){a.la=!0;(0,_.ah)(a.Z);a.Z=null;a.M&&(_.s.clearTimeout(a.M),a.M=null);a.W&&(_.s.clearTimeout(a.W),a.W=null);(0,_.fi)(a.B);a.B=null;(0,_.fi)((0,_.Iw)(a));a.Q=null;a.D=null}; var Uz=function(a,b){if(!a.I)if(a.Fc)Wz(a,b);else{var c=(0,_.za)()-20+350;a.W&&_.s.clearTimeout(a.W);a.Pu(a.ob,b,c)}};var Wz=function(a,b){var c=a.B,d=(0,_.Iw)(a);c.style.left=a.Ea?d.offsetLeft+d.offsetWidth+b.A-b.width+"px":d.offsetLeft+b.A+"px";c.style.width=b.width+"px";c.style.top=a.Aa?d.offsetTop+d.offsetHeight+b.B-b.height+"px":d.offsetTop+b.B+"px";c.style.height=b.height+"px";(0,_.Vi)(c,b.opacity);a.ob=b}; Nz.prototype.qe=function(a){return this.width==a.width&&this.height==a.height&&this.A==a.A&&this.B==a.B&&this.opacity==a.opacity};(0,_.z)(_.Pz,_.Hw);_.Pz.prototype.open=function(){(0,_.Qz)(this);this.O.fd(this.B);this.O.qb("resize",(0,_.x)(this.resize,this));this.O.mc("showMenu",(0,_.x)(this.Jw,this));var a=this.O.Cb;a.setHideOnLeave=(0,_.x)(this.ru,this);a.displayStateCallback&&(this.Nd=a.displayStateCallback,delete a.displayStateCallback);this.O.Mc(this.Q,{height:"100%"});(0,_.Vz)(this,this.C)};_.Pz.prototype.open=_.Pz.prototype.open; _.Pz.prototype.Pb=function(a){this.la||(a=a||{},this.Q.style.left="0",this.Q.style.top="0",this.D&&((0,_.fi)(this.D),this.D=null),this.Jb&&(_.s.clearTimeout(this.Jb),this.Jb=null),Tz(this,(0,window.parseInt)(a.width,10)||(0,window.parseInt)(this.O.width,10)||this.C.width,(0,window.parseInt)(a.height,10)||(0,window.parseInt)(this.O.height,10)||this.C.height))};_.Pz.prototype.onready=_.Pz.prototype.Pb; _.Pz.prototype.resize=function(a){this.la||Tz(this,(0,window.isNaN)(+a.width)?this.C.width:+a.width,(0,window.isNaN)(+a.height)?this.C.height:+a.height)};_.Pz.prototype.close=function(){this.pb?Yz(this):(this.Va=!0,Xz(this))};_.Pz.prototype.close=_.Pz.prototype.close;_.h=_.Pz.prototype;_.h.Re=function(a,b){for(var c,d=1,e=arguments.length;db.top&&a.clientY=c)Wz(this,b);else{var d=Math.min(1-(c-d)/350,1),d=1-Math.pow(1-d,3),e=1-d,d=new Nz(Math.round(a.width*e+b.width*d),Math.round(a.height*e+b.height*d),Math.round(a.A*e+b.A*d),Math.round(a.B*e+b.B*d),a.opacity*e+b.opacity*d);Wz(this,d);this.W=_.s.setTimeout((0,_.x)(this.Pu,this,a,b,c),20)}}}; _.lf["slide-menu"]=function(a){var b=new _.Pz((0,_.AI)(a)),c=new _.Rw(b);b.open=function(){};(0,_.Qz)(b);a.attributes={height:"100%"};a.where=b.Q;a.onClose=function(){b.close()};a.onRestyle=function(a){if(a){var c=!1;a.hasOwnProperty("showMenu")&&(b.Jw(a.showMenu),c=!0);a.hasOwnProperty("setHideOnLeave")&&(b.ru(a.setHideOnLeave),c=!0);c||b.resize(a)}};a.onCreate=function(a){a.yb=function(){return this.ti("openerIframe")};c.O=b.O=a;a.fd(b.B);a.P("_ready",(0,_.x)(b.Pb,b),_.Ue);b.Nd=function(b,c){!a.gb()&& a.mh([b,c])};(0,_.Vz)(b,b.C);c.open()}}; }); // Copyright 2002-2013 Google Inc.